<template>
  <!-- 笔记中心 -->
  <div class="container">
    <div class="list">
      <div class="item">
        <img class="img" src="../../assets/img/study/book.png" alt srcset>
        <div class="info">
          <div class="title">坚定不移推进</div>
          <div class="extra">时间:2019-3-10</div>
          <div class="extra">发起人:叶明珠</div>
        </div>
        <div class="btn">笔记详情</div>
      </div>
      <div class="item">
        <img class="img" src="../../assets/img/study/book.png" alt srcset>
        <div class="info">
          <div class="title">坚定不移推进</div>
          <div class="extra">时间:2019-3-10</div>
          <div class="extra">发起人:叶明珠</div>
        </div>
        <div class="btn">笔记详情</div>
      </div>
      <div class="item">
        <img class="img" src="../../assets/img/study/book.png" alt srcset>
        <div class="info">
          <div class="title">坚定不移推进</div>
          <div class="extra">时间:2019-3-10</div>
          <div class="extra">发起人:叶明珠</div>
        </div>
        <div class="btn">笔记详情</div>
      </div>
      <div class="item">
        <img class="img" src="../../assets/img/study/book.png" alt srcset>
        <div class="info">
          <div class="title">坚定不移推进</div>
          <div class="extra">时间:2019-3-10</div>
          <div class="extra">发起人:叶明珠</div>
        </div>
        <div class="btn">笔记详情</div>
      </div>
      <div class="item">
        <img class="img" src="../../assets/img/study/book.png" alt srcset>
        <div class="info">
          <div class="title">坚定不移推进</div>
          <div class="extra">时间:2019-3-10</div>
          <div class="extra">发起人:叶明珠</div>
        </div>
        <div class="btn">笔记详情</div>
      </div>
    </div>
  </div>
</template>
<style lang="less" scoped>
.container {
  padding: 20px 10px;
}
.list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  .item {
    display: flex;
    width: 48%;
    background-color: #fff;
    border-radius: 6px;
    padding: 10px 0;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    margin-bottom: 10px;
    font-size: 12px;
    .img {
      flex: 0 0 60px;
      height: 80px;
      margin-right: 5px;
    }
    .info {
      flex: 1;
      padding-top: 10px;
      .title {
        font-weight: bold;
        line-height: 1;
        margin-bottom: 10px;
      }
      .extra {
        color: #999;
        font-size: 10px;
        line-height: 1;
        margin-bottom: 5px;
      }
    }
    .btn {
      position: absolute;
      bottom: 0;
      right: 0;
      width: 66px;
      height: 24px;
      line-height: 24px;
      text-align: center;
      color: #fff;
      background-color: #ee4532;
      border-top-left-radius: 6px;
    }
  }
}
</style>
